﻿// =================================================================== 
// 项目说明,功能实体类,用CodeSmith自动生成。
// =================================================================== 
// 文件名: KeywordRelationEntity.cs
// 修改时间：2020-9-8 10:40:04
// 修改人: lixiong
// =================================================================== 
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using JX.Infrastructure.Attribute;
using JX.Infrastructure.Common;

namespace JX.Core.Entity
{
	/// <summary>
	/// 数据库表：KeywordRelation 的实体类.
	/// </summary>
	[Table("KeywordRelation")]
	public partial class KeywordRelationEntity
	{
		#region Properties
		private int? _id = 0;
		/// <summary>
		/// (主键)(自增长)
		/// </summary>
		[Column("ID",TypeName="int")]
		[Key]
		[MyFlag("Identity")]
		public int? ID
		{
			get {return _id;}
			set {_id = value;}
		}
		
		private int? _keywordID = 0;
		/// <summary>
		/// 关键字ID
		/// </summary>
		[Column("KeywordID",TypeName="int")]
		public int? KeywordID
		{
			get {return _keywordID;}
			set {_keywordID = value;}
		}
		
		private int? _generalID = 0;
		/// <summary>
		/// 信息ID
		/// </summary>
		[Column("GeneralID",TypeName="int")]
		public int? GeneralID
		{
			get {return _generalID;}
			set {_generalID = value;}
		}
		
		#endregion
	}
}
